import * as mars3d from "mars3d"
export let map // mars3d.Map三维地图对象

export function onMounted(mapInstance) {
  map = mapInstance // 记录首次创建的map
}

export function onUnmounted() {
  map = null
}
